//
// Created by 123 on 2024/12/31.
//
#include "iostream"
using namespace std;

class Student{
public:
    void setName(string name){
        s_name = name;
    }
    void setId(int id){
        s_id = id;
    }
    void showStudent(){
        cout << "name==" << s_name << " id==" << s_id << endl;
    }
public:
    string s_name;
    int s_id;
};

int main053(){
    Student stu;
    stu.setName("zhangsan");
    stu.setId(1);
    stu.showStudent();

}